package com.songlanyun.modules.information.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.information.entity.InformationClassifyEntity;
import com.songlanyun.modules.information.model.dto.InformationClassifyDto;

import java.util.Map;

/**
 * 资讯分类
 *
 * @author WuChao
 * @email songlanyun@gmail.com
 * @date 2022-11-18 09:52:58
 */
public interface InformationClassifyService extends IService<InformationClassifyEntity> {

    PageUtils queryPage(Map<String, Object> params);

    InformationClassifyEntity getById(Long id, boolean tw);

    void add(Long userId, InformationClassifyDto dto);

    void edit(Long userId, InformationClassifyDto dto);

    void delete(Long id);
}

